<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/11/1
 * Time: 11:24
 */


$i = 0;
while ( $i ++ < 100 ) {
	$logmsg = "Web操作：日志查询 ---------------->>>>>" .$i;
	openlog( "Web管理", 0, LOG_LOCAL0 );
	syslog( LOG_WARNING, $logmsg );
	closelog();
	sleep(1);
}
